package com.yf.notify.modules.sms.service;


import com.yf.base.api.exception.ServiceException;

import java.util.LinkedHashMap;

/**
 * 短信服务类
 * @author bool
 * @date 2020-02-17 09:43
 */
public interface SmsService {

    /**
     * 发送短信
     * @param templateId
     * @param mobiles
     * @param params
     * @return
     */
    boolean sendSms(String templateId, String [] mobiles, LinkedHashMap<String,String> params) throws ServiceException;
}
